package com.example.child_protection.dto.request.find;

import com.example.child_protection.dto.base.BaseQueryRequestDTO;
import io.swagger.annotations.ApiParam;
import lombok.Getter;
import lombok.Setter;

/**
 * 医院查询请求DTO
 * @date 2018-11-1
 * @author Biz
 */
@Getter
@Setter
public class HispitalRequestDTO extends BaseQueryRequestDTO {

    /**
     * 医院名称
     *
     * @mbggenerated
     */
    @ApiParam(value = "医院名称")
    private String name;

    /**
     * 代码
     *
     * @mbggenerated
     */
    @ApiParam(value = "医院代码")
    private String code;

    /**
     * 省ID
     *
     * @mbggenerated
     */
    @ApiParam(value = "省id",hidden = true)
    private Long provinceId;

    /**
     * 市ID
     *
     * @mbggenerated
     */
    @ApiParam(value = "城市id",hidden = true)
    private Long cityId;

    /**
     * 区ID
     *
     * @mbggenerated
     */
    @ApiParam(value = "区域id")
    private Long districtId;

    public void valid(){

    }
    public boolean isValidGid() {

        return false;
    }

}
